package com.ideaplugin.datamanager.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 实体类。
 *
 * @author zhaojingbo
 * @since 2023-09-20
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "table_column_auth")
public class TableColumnAuth implements Serializable {

    @Id(keyType = KeyType.Auto)
    private Long id;

    /**
     * 表id
     */
    private Long tableInfoId;

    /**
     * id
     */
    private Long roleId;

    /**
     * 列code
     */
    private String columnCode;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

}
